package com.greet.service;

import com.greet.dto.DishDTO;
import com.greet.dto.DishPageQueryDTO;
import com.greet.entity.Dish;
import com.greet.result.PageResult;
import com.greet.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult dishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    void setStatus(Integer status, Long id);

    DishVO getById(Long id);

    List<Dish> getByCategoryId(Long categoryId);

    void insertDish(DishDTO dishDTO);

    void updateDish(DishDTO dishDTO);

    void deleteByIds(Long[] ids);
}
